

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: marina
 * Date: 14.02.13
 * Time: 16:14
 * To change this template use File | Settings | File Templates.
 */
@XmlRootElement(name = "root")
@XmlAccessorType(XmlAccessType.FIELD)
public class Root {
    @XmlElement(name = "hotel")
    private List<Hotel> hotels = new ArrayList<Hotel>();

    public List<Hotel> getHotels() {
        return hotels;
    }
}
